﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Infrastructure.Filters
{
    public class ApiRspBase<T>
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success { get; set; } = true;

        /// <summary>
        /// 响应代码
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Msg { get; set; }

        /// <summary>
        /// 返回数据
        /// </summary>
        public T Data { get; set; }
        public string RequestId
        {
            get;
            set;
        }
    }
}
